/**
 * 
 */
package edu.arizona.bio5.onto.decomposition;

/**
 * Assigns each atom its own signature as a label
 * 
 * @author Pavel Klinov
 *
 */
public class AtomSignatureLabelingAlgorithm implements AtomLabelingAlgorithm {

	@Override
	public void compute(AtomicDecomposition ad) {
		for (Atom atom : ad.getAtoms()) {
			atom.setLabel(new SignatureLabel(atom.getSignature()));
		}
	}
}
